'''这里包括全部依赖，所以不会出现没有注解的情况'''
import time

from selenium import webdriver  # 浏览器驱动
from selenium.webdriver import ChromeOptions  # 浏览器设定
from selenium.webdriver.common.by import By  # H5选择器
from unittest import TestCase  # 测试用例框架
from ddt import ddt, data, unpack  # 数据批处理工具

import TEST1.Head.DataFrom as dtR  # 数据准备[mysql/excel]
import TEST1.Head.DriverOn as dF  # 驱动设置及快捷功能

import json
from appium import webdriver
from appium.webdriver.common.mobileby import MobileBy
from appium.webdriver.common.touch_action import TouchAction

import path

# fp = path.PATH + 'TEST\\Asset\\ID_city.xls'
# exc = dtR.xls(fp, 0)
# dtR.new(fp)
# lis = []
#
# x = dF.Page(port='https://blog.csdn.net/weixin_54108529/article/details/123268875')
# tex = x.driver.find_element(By.XPATH, '/html/body/div[3]/div[1]/main/div[1]/article/div/div[1]/p').text.split('\n')
# for line in tex[:-2]:
#     number = line[1:7]
#     city = line[7:].strip()
#     tmp = []
#
#     if not number[-1].isdigit():
#         continue
#     print(number)
#
#     tmp.append(number)
#     tmp.append(city)
#     lis.append(tmp)
#
# print(lis)
# exc.write(lis, 0, 0, flag=1)
# print(exc.random_read(50))
lis = []
for i in range(2000,2023):
    lis.append(str(i))
print(lis)

lis = []
for i in range(1,13):
    lis.append(str(i).zfill(2))
print(lis)

lis = []
for i in range(1,29):
    lis.append(str(i).zfill(2))
print(lis)
